import http from "../../utils/http";
import { CompanyParams, MapCount, ResponseCompany } from "./type";

export const getCompanyList=(params:CompanyParams)=>{

    return  http.get<ResponseCompany>("/api/company/list",params);
  
  }
  

  export const getCompanyCount=()=>{

    return  http.get<MapCount[]>("/api/count/getCompanyCount");
  
  }
  
  